package com.xmg.design23.d1_factory.method;

import com.xmg.design23.d1_factory.simple.Fruit;
import com.xmg.design23.d1_factory.simple.Pear;

/**
 * @Author: mazhongqing
 * @Date: 2021/3/24 15:15
 */
public class PearFactory {
    public Fruit create(){
        return new Pear();
    }
}
